interface MapPoint {
  id: number;
  lng: number;
  lat: number;
  driver: string;
  plateNumber: string;
  orientation: number;
}

const mockPoints: MapPoint[] = [
  {
    id: 1,
    lng: 121.4737,
    lat: 31.2304,
    driver: "王师傅",
    plateNumber: "沪A12345",
    orientation: 45
  },
  {
    id: 2,
    lng: 121.5319,
    lat: 31.2204,
    driver: "刘司机",
    plateNumber: "沪B67890",
    orientation: 120
  }
];

export const mapJson = async () => {
  return Promise.resolve({
    data: mockPoints
  });
};
